<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>visibility</title>
    <style>
        .one {
            /* visibility: visible; */
            visibility: hidden;
            /*visibility属性用于指定一个元素应可见还是隐藏
             visibility: visible; 元素可视
             visibility:hidden;元素隐藏
             visibility隐藏元素后，继续占有原来的位置*/
            height: 200px;
            width: 200px;
            background-color: pink;
        }

        .two {
            height: 200px;
            width: 200px;
            background-color: deeppink;
        }
    </style>
</head>

<body>
    <div class="one"></div>
    <div class="two"></div>
</body>

</html>